define([
    //  Dependancy scripts
    // ---------------------------    
    'backbone',
    //  App scripts
    // ---------------------------
    'app/global'
], function(Backbone, appNamespace){
    var AppRoute = Backbone.Router.extend(
    {
        routes : 
        {   
            ""         : "fourDays",
            "fourDays" : "fourDays",
            "tenDays"  : "tenDays"
        },

        fourDays : function() 
        {
            appNamespace.Vent.trigger('four-days', {
                pageName : 'dayView',
                forcats : 'forecast'
            });
        },

        tenDays : function() 
        {
            appNamespace.Vent.trigger('ten-days', {
                pageName : 'dayView',
                forcats : 'forecast10day'
            });  
        }
    });

    return AppRoute;
});